<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>题库专家</title>
  <link rel="stylesheet" href="assect/css/login.css">
  <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
</head>

<body>
  <div class="bg">
    <img src="assect/img/logo.png" alt="">
    <div class="box">
      <div>
        <input type="text" placeholder="账号">
      </div>
      <div>
        <input type="text" placeholder="密码">
      </div>
    </div>
    <div class="btn">
      <button class="login">登陆</button>
    </div>
  </div>
  <script>
    // 退出登陆
    $('.login').click(function () {
      $(location).attr('href', 'index.html');
    })
  </script>
</body>

</html>